home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / dpmigcc5.zip / RSX / SOURCE / SYSDEP2.C < prev    next >
C/C++ Source or Header  |  1994-05-27  |  1KB  |  64 lines

  1. /*****************************************************************************
  2.  * FILE: sysdep2.c                                 *
  3.  *                                         *
  4.  * DESC:                                     *
  5.  *    - system functions for EMX/GCC                         *
  6.  *                                         *
  7.  * Copyright (C) 1993,1994                             *
  8.  *    Rainer Schnitker, Heeper Str. 283, 33607 Bielefeld             *
  9.  *    email: rainer@mathematik.uni-bielefeld.de                 *
  10.  *                                         *
  11.  *****************************************************************************/
  12.  
  13. #include "DPMI.H"
  14. #include "PROCESS.H"
  15. #include "PRINTF.H"
  16. #include "SYSDEP.H"
  17. #include "FPU.H"
  18.  
  19. DWORD copro_struct;        /* address of soft-387 struct */
  20. UINT emu_sel = 0;        /* emu data-sel */
  21. DWORD emu_esp;            /* emu esp entry */
  22. POINTER16_32 emu_entry;        /* entry address emu (for init) */
  23.  
  24. void save_emu_state(NEWPROCESS * proc)
  25. {
  26.     /*
  27.     ** buildin emu uses proc->npx
  28.     */
  29. }
  30.  
  31. void load_emu_state(NEWPROCESS * proc)
  32. {
  33.     /*
  34.     ** buildin emu uses proc->npx
  35.     */
  36. }
  37.  
  38. int install_rsx387()
  39. {
  40.     emu_init();
  41.     return 0;
  42. }
  43.  
  44. /* convert PSP to command line */
  45. void get_emxl_psp(unsigned emxl_psp)
  46. {
  47.     /* done by loader */
  48. }
  49.  
  50. /* make command string to argv */
  51. void build_emx_args(int *argc, char ***argv)
  52. {
  53.     /* done by loader */
  54. }
  55.  
  56. void build_dj_args(int *argc, char ***argv)
  57. {
  58.     /* done by loader */
  59. }
  60.  
  61. void flush_all_buffers(void)
  62. {
  63. }
  64.